package start;

import java.io.File;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class Main {
    public static void main(String[] args) {
        System.out.println((new File("")).getAbsolutePath());
        ApplicationContext context =
            new ClassPathXmlApplicationContext(new String[] { /*"META-INF/services.xml", "META-INF/daos.xml",*/
                                                              "META-INF/mySpringBeans.xml" });
        A a = (A)context.getBean("aBean");
        B b = (B) context.getBean("bBean", B.class);
    }
}
